package com.pj.config;

import cn.dev33.satoken.stp.StpLogic;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import cn.dev33.satoken.jwt.StpLogicJwtForSimple;
/**
 * <p>Title: SaTokenConfigure </p>
 * <p>Description: SaTokenConfigure </p>
 * Package: com.pj.config
 * Company: 沪渝研究院
 * Copyright: Copyright(c) AI+X
 * Date: 2024/9/2 13:45
 *
 * @author zhangcheng
 * @version 1.0.0
 */
@Configuration
public class SaTokenConfigure {
    // Sa-Token 整合 jwt (Simple 简单模式)
    @Bean
    public StpLogic getStpLogicJwt() {
        return new StpLogicJwtForSimple();
    }
}
